<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>响应式模板</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.css">
    <!-- [if lt IE 9] -->
    <script src="../lib/html5shiv/html5shiv.min.js"></script>
    <script src="../lib/respond/respond.js"></script>
    <!-- [endif] -->
</head>
<style>
.as{
    margin-top: 100px;
    width: 800px;
    height: 400px;
    background: #ccc;
}
</style>
<body>
    <div class="container as">

        <!-- Nav tabs -->
        <!-- <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
            <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
            <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
            <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>
        </ul> -->

        <!-- Tab panes -->
        <!-- <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="home">1</div>
            <div role="tabpanel" class="tab-pane" id="profile">2</div>
            <div role="tabpanel" class="tab-pane" id="messages">3</div>
            <div role="tabpanel" class="tab-pane" id="settings">4</div>
        </div> -->

        <a type="a" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="left"
            data-content="Popover on 左侧">
            Popover on 左侧
        </a>

        <a type="a" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="top"
            data-content="Popover on 顶部">
            Popover on 顶部
        </a>

        <a type="a" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="bottom"
            data-content="Popover on 底部">
            Popover on 底部
        </a>

        <a type="a" class="btn btn-default" data-container="body" data-toggle="popover" data-placement="right"
            data-content="Popover on 右侧">
            Popover on 右侧
        </a>

    </div>

</body>

</html>
<script src="../lib/jquery/jquery.min.js"></script>
<script src="../lib/bootstrap/js/bootstrap.min.js"></script>
<script>
    $('#myTabs a').click(function (e) {
        e.preventDefault()
        $(this).tab('show')
    })
    $('[data-toggle="tooltip"]').tooltip();
    $('[data-toggle="popover"]').popover();

</script>